dsh-html-escape:HTML 实体编解码
DeepSeek Harness (DSH) 插件 `dsh-html-escape` 用于处理 HTML 实体编解码及防范 XSS 攻击。该纯 Node.js 插件提供 `html_escape` 和 `html_unescape` 两个核心函数,可将 `<`、`>`、`&` 等字符进行转义或反转义。安装需在本地终端执行 `dsh plugin add`,并在 profile 的 `package.json` 中配置 `dsh.profile.bundles`。使用时直接调用函数即可,例如将脚本标签转义以防止 XSS。安装即运行第三方代码,建议自行审阅源码。
阅读全文